What is Rokt Thanks?
Rokt Thanks displays personalized, non-intrusive offers to your customers on the post-purchase confirmation screen. It’s a simple way to generate passive revenue from every order without impacting the customer experience. This guide walks through how to install Rokt Thanks within your TapCart mobile app using a Custom Code Block. The setup takes just a few minutes.Before you start
You will need the following:- TapCart Enterprise plan - Custom Code Blocks are only available on Enterprise. If you’re unsure about your plan, check with your TapCart account rep.
- Your Rokt Account ID - your Aftersell account manager will provide this. If you don’t have it yet, just reach out and we’ll send it over.
Step 1: Create a Custom Block
Log in to your TapCart dashboard and open the App Studio editor. Create a new Custom Block.Step 2: Paste the code snippet
In the Custom Block editor, switch to the Dev section. Clear any placeholder code and paste the snippet below:Replace Your Account ID
In the snippet above, find the lineaccountId: "YOUR_ACCOUNT_ID" and replace YOUR_ACCOUNT_ID with the Account ID provided by your Aftersell account manager.Once updated, save the Custom Block.Step 3: Add to your Post Purchase page
Navigate to your Post Purchase page in TapCart’s visual editor. Drag the Custom Block you just created onto the page and drop it wherever you’d like the offers to appear.Step 4: Let us know
Once you’ve completed the steps above, let your Aftersell account manager know. We’ll finalize a quick configuration on our end and confirm when everything is live. The snippet is initially set to sandbox mode (sandbox: true), which loads test offers so you can preview the placement. sandbox is an option on the launcher in the snippet itself, not a setting on our side — so once we’ve confirmed everything looks right, edit the Custom Block, change sandbox: true to sandbox: false, and save. You’ll start earning revenue from that point.