×

Notice

The forum is in read only mode.
Welcome, Guest
Username: Password: Remember me
  • Page:
  • 1

TOPIC: Analytics Tracking

Analytics Tracking 8 years 2 months ago #33531

  • Mike Andrew
  • Mike Andrew's Avatar Topic Author
  • Offline
  • Fresh Boarder
  • Fresh Boarder
  • Posts: 1
  • Thank you received: 0
Sorry to bother you. I have the mailchimp form formatted and working on my site. However I need to be able to track the newsletter signups from Adwords in Google Analytics. Basically is there a way the module can use a redirection URL to a thank you page, which I can track, rather than just displaying the message inside the module?
Many thanks, Mike

Analytics Tracking 8 years 2 months ago #33552

  • Daniel Dimitrov
  • Daniel Dimitrov's Avatar
  • Offline
  • Administrator
  • Administrator
  • Posts: 9618
  • Karma: 155
  • Thank you received: 1081
Hey Mike,
You could modify the js file that does the ajax subscribe. In the funciton that deals with the request from the server you could add your googleAnalytics code and this way you won't have to do a redirect.

Regards,
Daniel

Analytics Tracking 7 years 2 months ago #35511

  • Michael Milson
  • Michael Milson's Avatar
  • Offline
  • Fresh Boarder
  • Fresh Boarder
  • Posts: 1
  • Thank you received: 0
First off let me start by saying, great add on, this really saved me when another form I was using stopped working and I had to start from scratch.

I too am trying to add some Adwords Conversion code to track how many people actually sign up to the list through this form, coming from our ads etc.

Which files exactly would I need to look in to do what you are suggesting above, I have gne through many files within the modules, components and libraries asociated with CMC but as of yet am not having any luck with where to add this Javascript code to make it only display if the form is submitted with a successful email added to the list etc.

Thanks in advance for any assistance.
  • Page:
  • 1
Time to create page: 0.105 seconds