<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[We want to add UTM to track sales]]></title><description><![CDATA[<p dir="auto">Hello</p>
<p dir="auto">We want to add utm in url to track clicks and sales for affilates<br />
we use 2.3.6 bagisto</p>
<p dir="auto">How to do this</p>
<p dir="auto">Regards<br />
Gaurav</p>
]]></description><link>https://forums.bagisto.com/topic/4272/we-want-to-add-utm-to-track-sales</link><generator>RSS for Node</generator><lastBuildDate>Mon, 15 Jun 2026 18:09:12 GMT</lastBuildDate><atom:link href="https://forums.bagisto.com/topic/4272.rss" rel="self" type="application/rss+xml"/><pubDate>Mon, 15 Jun 2026 08:09:50 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to We want to add UTM to track sales on Mon, 15 Jun 2026 14:27:57 GMT]]></title><description><![CDATA[<p dir="auto">Hello Gaurav,<br />
Greetings!</p>
<p dir="auto">Thank you for reaching out.</p>
<p dir="auto">Yes, UTM parameters can be implemented in Bagisto to track affiliate clicks and conversions. Since UTM parameters (such as <code>utm_source</code>, <code>utm_medium</code>, <code>utm_campaign</code>, etc.) are used for tracking marketing sources, they can be captured when a customer lands on the website and associated with their complete purchasing journey.</p>
<h3>Proposed Implementation Flow</h3>
<p dir="auto"><strong>1. Capture UTM Parameters</strong></p>
<p dir="auto">Create a middleware or use an event listener to capture UTM parameters from incoming URLs.</p>
<p dir="auto">For example:</p>
<p dir="auto"><code>https://yourstore.com/product/abc?utm_source=affiliate1&amp;utm_medium=partner&amp;utm_campaign=sale</code></p>
<p dir="auto">The captured UTM values can then be stored in the customer session or browser cookies.</p>
<p dir="auto"><strong>2. Maintain Tracking Throughout the Customer Journey</strong></p>
<p dir="auto">Ensure that the stored UTM data remains available while the customer:</p>
<ul>
<li>Browses products</li>
<li>Adds items to the cart</li>
<li>Proceeds to checkout</li>
</ul>
<p dir="auto">This ensures the original affiliate or campaign information is retained until the order is placed.</p>
<p dir="auto"><strong>3. Save UTM Details with Orders</strong></p>
<p dir="auto">Add custom fields to the orders table and store the captured UTM information during the order placement process.</p>
<p dir="auto">This will allow you to identify which affiliate, campaign, or marketing source generated the successful sale.</p>
<p dir="auto"><strong>4. Generate Affiliate Conversion Reports</strong></p>
<p dir="auto">Once UTM data is stored with orders, custom reports can be created to analyze:</p>
<ul>
<li>Affiliate performance</li>
<li>Campaign effectiveness</li>
<li>Conversion and sales data</li>
</ul>
<p dir="auto">Please note that Bagisto v2.3.6 does not provide built-in support for affiliate UTM tracking. Therefore, this functionality will require a custom implementation based on your affiliate tracking and reporting requirements.</p>
<p dir="auto">Thank You<br />
Kartikey Dubey<br />
Team Bagisto</p>
]]></description><link>https://forums.bagisto.com/post/14928</link><guid isPermaLink="true">https://forums.bagisto.com/post/14928</guid><dc:creator><![CDATA[admin]]></dc:creator><pubDate>Mon, 15 Jun 2026 14:27:57 GMT</pubDate></item></channel></rss>