Analytics
1.5K members online now
Discuss discrepancies between AdWords and Google Analytics data, linking AdWords and Google Analytics, importing your goals/Ecommerce transactions into AdWords, and setting up Remarketing
 
Guide Me
star_border
Reply

Adwords conversion tracking code lost after first page

Visitor ✭ ✭ ✭
# 1
Visitor ✭ ✭ ✭

Hello everyone,

 

We have a application build using React.JS. https://emailautomatedtests.co.uk

We are tracking virtual pageviews and a couple of events using GTM. All of that works as expected. 

 

The following does not work:

When a user clicks on Adwords ad and goes to the site . Pageview on load is fired with CPC as source (Correct) , however, when user goes the next page (/menu) a new session is started and channel becomes Organic/Google. Adwords is linked to GA and auto-tagging is on.

 

Any suggestions? 

 

 

1 Expert replyverified_user

Re: Adwords conversion tracking code lost after first page

Rising Star
# 2
Rising Star
This is because there is no traditional page load but instead the page is AJAX rendered. You need to fix the GA tracker. See link below.

https://www.thyngster.com/tips-to-track-an-ajax-based-website-using-gtm-and-universal-analytics/

In your case this is needed in order to preserve traffic attribution as at the moment GTM doesn't cater for this scenario. However, there are some things to bear in mind. See article below.

http://www.simoahava.com/gtm-tips/be-careful-with-the-tracker-name-setting/