OpenCart: Difference between revisions

From Growth Agency Wiki
Jump to navigation Jump to search
No edit summary
Line 46: Line 46:
[[Media:Gtm.ocmod.zip|Gtm.ocmod.zip]]
[[Media:Gtm.ocmod.zip|Gtm.ocmod.zip]]


== Feeds ==
= Feeds =


Feed URL, The Google Base extension will need to be installed and activated.
Feed URL, The Google Base extension will need to be installed and activated.

Revision as of 11:26, 1 June 2023

Google Tag Manager

Install Tag Manager.

  • Note, the OCmod & VQmod scripts below insert the Tag Manager.

Main Template file:

/catalog/view/theme/<<Theme Folder>>/template/common/header.tpl 

Conversion URLS

Contact Thank-you URL:

index.php?route=information/contact/success

Sale Thank-you URL:

index.php?route=checkout/success

Account Creation URL:

index.php?route=account/success

Conversion Value

The easiest and most reliable way to install the Conversion value tracking is via extensions that inject the code directly into core files.
These are upgrade safe! (The worst that can happen is that a reference can change and the code is not injected)
Before using these, it is best to check that the references are the same.
Change the GTM ID's in the scripts!.

VQmod

An OpenCart extension called VQmod is required to insert it into the code.

vqmod/xml/get_total_to_success.xml

Get_total_to_success.xml

OCmod

An OpenCart extension called OCmod is required to insert it into the code.

Gtm.ocmod.zip

Feeds

Feed URL, The Google Base extension will need to be installed and activated.

/index.php?route=feed/google_base