Hi there I would like to get support basically for...
# support
c
Hi there I would like to get support basically for integrating shopify with tiktok offline events. I have done all the setup as shown in the help docs, but I'm still unable to have the offline purchases reported in tiktok ads. All events are reported as failed. In details of failed events i don't see any order created events. Please refer to the attached screenshots.
m
Hey There! 👋 Your message has been received by the RudderStack team. We will forward this request to your Technical Account Manager, and they will get back to you shortly. Please use the thread for any additional comments.
Hi Alam, your mapping seems to be incomplete. In the destination doc it is mentioned that standard rudderStack events should also be mapped to Tiktok events. See here https://www.rudderstack.com/docs/destinations/streaming-destinations/tiktok-ads-offline-events/#standard-events Also only the 4 events mentioned in the above page are mapped to Tiktok standard events, and the remaining events need to be mapped by you.
c
Hi Ranganath, thank you for your reply. Please refer to the attached screenshots. I have already mapped the complete payment event to the event name "order created" earlier since this is how its reported by the shopify source. Im not sure if this correct or shall i use the exact event name mentioned in the doc which is "Checkout Step Completed"?
m
Yes, so what are the events you are sending? I see the following events being sent (that are throwing errors) 1. Product Viewed 2. Product Added 3. Product List Viewed 4. Cart Update The first 3 above are standard RudderStack events but the 4 is not. You can have any event name you want but they should be mapped to one of the 4 Tiktok events • Complete Payment • Contact • Submit Form • Subscribe I see that you have changed the "Order Created" to "Checkout Step Completed", but then you will have to send the event named "Checkout Step Completed" from Shopify source. Also can you check if there are other Standard events that Tiktok Ads Offline supports (I am unable to do so since Tiktok is blocked at my end)
These seem to be the supported events in Tiktok https://ads.tiktok.com/help/article/about-offline-conversions?lang=en Since the above do not map directly to these events you may have to do the mapping manually.
c
Hey, so basically i only want to track order created events and when i check shopify source it does report order created events but seems tiktok offline events destination is not receiving that type of events.
Hi as you can see shopify is reporting the order created events but tiktok is not receiving it. Any thoughts?
m
Hi Alam, was the initial event mapping from 1. Order Create -> Complete Payment or 2. Order Created -> Complete Payment Also if the `Order Created`⁣ events are failing at the destination, the dashboard should show the failed event . Can you share a sample `Order Created`⁣ event? Also can you map/drop the other failing events like - Product Viewed - Product List Viewed This will help us catch errors with the `Order Created`⁣ event. Thanks.
c
Hi dear, initially I mapped order created to complete payment but no luck. The thing is under invalid records events related to tiktok offline events not a single order created event was reported. Basically every other event is reported aside from order created which is a bit weird since as shown in the previous screenshot of shopify events its there along with the other events such as product view,etc . Regarding sharing order created sample event, would you please explain How can i get it . In regards of the last point , do you mean that I map one of those events to the complete payment event?
m
Hi Alam, the last point was to map the order created to one of the standard events as this would reduce the number of errors. Also, in the destination won't you see only Complete Payment event in the Tiktok destination?
c
Hi Ranganath, I have already mapped the order created event to the Standard complete payment event of tiktok but it didn't work. In destination there are no complete payment, order created events reported . The highest event in the funnel that is reported is checkout updated. This is the weird thing honestly everything else is reported but the event of order created giving that its already reported in shopify source as shown in the previous screenshots.
m
Hi Alam are you available now?
c
Hi I booked the nearest appointment by Monday Oct 2nd. Meanwhile, please let me know if anything is required from my side. Thanks
Hi i attended the meeting but no one showed. This issue is still ongoing since a week and I need a solution please
@shy-kite-21035 please advise
@shy-kite-21035 #support any updates?
m
hey sorry will setup the call for tomorrow
c
Please 🙏. Shall I book through the link?
m
Feel free to suggest another time if the current slot does not work for you.
c
I'm available now if possible?
Meeting scheduled on Monday please confirm
m
Done
c
looking forward to our meeting tomorrow, thanks
m
Hi Alam, now I see this error for the Order Created event. The error means that the properties object should have an eventSetId. "{\"response\":\"Missing required value from \\\"properties.eventSetId\\\"\",\"firstAttemptedAt\":\"2023-10-10T051511.620Z\",\"content-type\":\"\"}" Sharing the Tiktok docs that talk about the eventSetId https://ads.tiktok.com/help/article/about-offline-conversions?lang=en To fix this you can update your user transformation to add the eventSetId
Copy code
export function transformEvent(event, metadata) { 

    const property = event.event; // Edit event name 

    const allowlist = ["Order Created"]; // Edit allowlist contents 

    if (!property || !allowlist.includes(property)) return;

    // Adding the eventSetId to your properties object 

    event.properties.eventSetId = "<Your_Event_Set_ID>";

    return event;

}
Note:- The above transformation will add the eventSetId only to the "Order Created" event.
c
Hi Ranganath, thanks for your reply. I'll have a look at this but where do i get the <event set id> from?
m
This has to be setup in the Tiktok destination. Not much info on how to do that though. https://ads.tiktok.com/help/article/about-offline-conversions?lang=en
c
Hi i have added the code you sent and add the event set id as the id of the offline event created in tiktok. I can see now that one is delivered. Will keep monitoring and see if it reflects in tiktok ads manager. Thanks
Its working now thanks alot
m
Glad to help 🙂 You can now remove the transformation part where you are filtering the events. Be careful to not break the other parts of the user transformation.
c
Thank you. Is it necessary to remove the transformation part?
m
I meant that currently you are sending only the Order Created event to Tiktok. If you want to send the other events as well you may have to make changes in the transformation (remove the event filtering)
👍 1