cancel
Showing results for 
Search instead for 
Did you mean: 

Adding webgain landing code on each product page.

SOLVED

Adding webgain landing code on each product page.

We are implementing Webgains affiliate scheme on Magento 1.

We have 2 scripts one to be placed on the payment confirmation page and the landing page script that has to go on every product page.

How do we add to every product page please ?
1 ACCEPTED SOLUTION

Accepted Solutions

Re: Adding webgain landing code on each product page.

Add the code to your product page. The page can be found in /app/design/frontend/[your package]/[your theme]/template/catalog/product/view.phtml

View solution in original post

5 REPLIES 5

Re: Adding webgain landing code on each product page.

Add the code to your product page. The page can be found in /app/design/frontend/[your package]/[your theme]/template/catalog/product/view.phtml

Re: Adding webgain landing code on each product page.

Cheers for the info......

Re: Adding webgain landing code on each product page.

Re: Adding webgain landing code on each product page.

Adding Webgain landing code to each product page can be likened to using Ashley-themed pick-up lines, where precision and context are key. Here are the steps, along with a playful twist:

  1. Access the Website's Codebase: Just like finding the right moment to say, "Are you Ashley? Because every time I see you, my web gains a purpose."

  2. Locate the Product Page Template: This step is crucial, akin to saying, "Ashley, you're like my target page; you always have what I'm looking for."

  3. Insert the Webgain Code: Place the Webgain landing code in the HTML of each product page, similar to delivering a line, "Is your name Webgain, Ashley? Because with you, every moment is a high-converting experience."

  4. Ensure Consistency Across Pages: Like tailoring a pick-up line for Ashley, customize the Webgain code for each product page to ensure relevance and effectiveness.

  5. Test the Implementation: Just as you'd gauge Ashley pick up line, test the pages to ensure the Webgain code is functioning correctly.

  6. Monitor and Optimize: Continuously monitor the performance, much like adapting your approach with Ashley, and make adjustments to the Webgain settings as needed.

Re: Adding webgain landing code on each product page.

  1. Access Product Pages: Navigate to the HTML or source code of each product page where you want to add the Webgain landing code.

  2. Insert Code Snippet: Locate the appropriate section within the HTML where you want the Webgain landing code to be inserted. It's often placed within the <head> section.

  3. Copy Webgain Landing Code: Log in to your Webgain account, access the landing code section, and copy the provided HTML or JavaScript snippet.

  4. Paste Code on Product Page: Return to the product page's HTML, and paste the Webgain landing code snippet cx file in the designated area, ensuring it is correctly placed within the <head> section.

  5. Save Changes: Save the modifications made to the product page's HTML.

  6. Repeat for Each Product Page: Repeat the process for each product page where you want the Webgain landing code to be implemented.

  7. Testing: After adding the code to all relevant pages, perform tests to ensure that the Webgain landing functionality is working as expected.

  8. Integration with CX File Explorer APK: If you're managing your website on an Android platform, consider optimizing your workflow by exploring the features of CX File Explorer APK available. This Android application can assist you in efficiently managing files and resources related to your website, providing a streamlined experience for implementing and maintaining landing codes on your product pages.