google conversion tracking

We're trying to track google ad conversions. We have code to track people who complete the Contact Us page and another code for tracking purchases.



The Contact form itself is at https://domainname.com/index.php?dispatch=pages.view&page_id=1

We want the code to trigger on the completion URL with the sent flag

https://domainname.com/index.php?dispatch=pages.view&page_id=1&sent=Y



Also, any suggestions for where to insert the code in the checkout process?

As far as purchases: I'm using the Google Analytics addon and it has a place to check “Track e-commerce transactions.”

Yes, we have that installed. This is to track specific google adwords conversions.

[quote name='tjordan' timestamp='1368196656' post='161597']

Yes, we have that installed. This is to track specific google adwords conversions.

[/quote]



Ah gotcha. Sorry…

May have solved one of them. Did the right search and found CS-Cart Documentation — CS-Cart 4.15.x documentation

At least this looks like what will work for tracking the purchases.

You could insert the code for tracking the contact form conversions in the “Form Submit text” field under the “Form Builder” tab where you specify which fields and info you collect on the form. This should only be shown after the customer submits the form.

Website Content - Administration panel.jpg