When a shopper opens a product or another store page from Rep chat, your analytics tool can use a label in the link to identify the visit. For example, if you use Triple Whale, you can have Rep add tw_source=repai to store links automatically.
Set up and test a parameter
- In the Rep Console, go to Settings → Chat Widget and open the Settings tab.
- Under Link tracking parameters, select Add parameter.
- Enter the Name and Value in separate fields. For Triple Whale, enter
tw_sourceas the name andrepaias the value. Check Example link to see how the label will appear on your store URL. - If your reporting setup uses more labels, add one row per label. You can save up to 10. For example, to identify a source and medium in Google Analytics, use one row for
utm_sourcewith the valuerepaiand another forutm_mediumwith the valuechat. UTM tags on internal links can affect how your analytics tool credits the original traffic source. - Select Save and preview. Reload your storefront, open chat, and follow a product recommendation. Check the product page address for your parameter, such as
/products/linen-shirt?tw_source=repai.
Which links get the label?
Rep adds your parameters to links the storefront chat opens on your store, including product and collection pages, cart and checkout links, store links in messages and disclaimers, and the store page a shopper reaches after applying a chat discount. The setting applies to storefront chat only. External websites, email addresses, phone numbers, and links that jump within the same page are excluded.
If a link already contains a parameter with the same name, its existing value takes priority. For example, a link containing utm_source=newsletter keeps that value. Rep can still add other labels, such as utm_medium=chat.
Edit or remove parameters
Return to Link tracking parameters, edit or remove the relevant rows, then select Save and preview. To turn tagging off, remove every row and save.
If a row prevents you from saving, fill in both fields and keep each field to 100 characters or fewer. Give each name a unique spelling regardless of capitalization. Names cannot contain spaces or the characters &, =, ?, or #. Rep reserves rSid, rCid, and psid for its own use.