In this article, I'll be going over how to track PassKit pass events on your MoEngage user records.
First, head over to MoEngage and log in. Click on Settings on the bottom left-hand side of the screen.
Next, Click on the APIs option in the left-hand drawer. Copy your DATA API ID and DATA API KEY on the API's page.
If you don't have a DATA API KEY, click the Generate Key button and copy the new value. Make sure to click the Save button as well.
The last thing we need is your Data Location Number. You can find it in your browser. URL.
The Data Location Number for the URL above is
Once you have all three values copies, it's time to head over to PassKit. Once you log in, navigate to the coupon campaign you want to track events against. Inside the campaign, click the Settings option from the top nav bar. Next, click the Integrations option.
Scroll down the list of integrations until you see the MoEngage option.
Click the Configure button and fill out the form on the next page.
Fill in the form with the values you copied from MoEngage earlier. The name field can be whatever you want. Also, make sure to toggle the Enable Integration switch on.
Below the Enable Integration toggle there is a list of Pass events you can subscribe to:
Created by a user: Will track an event when a new pass is created.
Updated by a user: Will track an event when a pass is updated.
Installed by a user: Will track an event when a user adds a pass into their digital wallet.
Deleted by a user: Will track an event when a member record is deleted.
Uninstalled by a user: Will track an event when a user removes a pass from their wallet.
Invalidated by a user: Will track an event when a pass record is invalidated.
Once you have selected all the events you want, click "Save".
Now when you create users you'll be able to see the events they trigger.