Mobile app version of vmapp.org
Login or Join
Gretchen104

: Use Google Analytics UTM codes and referral at same time I have two different affiliate networks sending me traffic, all tracked using UTM codes; network A medium=affiliates source=affiliatenetworkA

@Gretchen104

Posted in: #Affiliate #Ecommerce #GoogleAnalytics #Tracking

I have two different affiliate networks sending me traffic, all tracked using UTM codes;

network A


medium=affiliates
source=affiliatenetworkA


network B


medium=affiliates
source=affiliatenetworkB


If I want to also dynamically track the individual URLs of the sites within each network, how can I do that (without having to give each site a separate UTM code)?

10.02% popularity Vote Up Vote Down


Login to follow query

More posts by @Gretchen104

2 Comments

Sorted by latest first Latest Oldest Best

 

@Gail5422790

Instead of adding a new line of code, wouldn't it be easier to look at Referrar URL report filtered to networkA and networkB Domains?

10% popularity Vote Up Vote Down


 

@Heady270

You could use JavaScript to set the one of the UTM parameters to be the referrer. For example to set the keyword parameter with the referrer you would use:

ga('set', 'campaignKeyword', document.referrer);

10% popularity Vote Up Vote Down


Back to top | Use Dark Theme