Giveaway Ninja allows to run two custom scripts when these two events happen:
Those scripts can be useful to send events to Facebook and/or Google Analytics.
For instance, you can track an event on Facebook to retarget users that joined a specific giveaway.
Tracking scripts are optional, and setting them up makes only sense if you are running a very well-structured marketing funnel.
The "Conversion Script" fires when a user joins the giveaway by entering the email or clicking on the "Login with Facebook" button.
For instance, the following script could be used to track a "JoinGiveawayMarch" event:
fbq('trackCustom', 'JoinGiveawayMarch')
Once tracked, the event can be used in many ways on the Facebook platform:
https://developers.facebook.com/docs/facebook-pixel/implementation/conversion-tracking/
If you are running Ads to promote your giveaway, the event can be used to track a conversion important to understand the Ads performance.
Once you setup the giveaway make sure to check the event gets tracked correctly.
The browser's console log can be very useful to check if the scripts are firing and sending data to the desired tracking service (Facebook Pixel or Analytics).
This requires some technical skill though, just reach out for our support and we'll double check the tracking.
<script>
ga("send", "event", "CTA Button", "Click", "giveaway-popup");
</script>
gtag('event', 'sign_up', {
method: 'Giveaway',
event_label: 'Giveaway Sign-up'
});
<script>
fbq("track", "CompleteRegistration", {content_name: "giveaway-campaign-xmas"});
</script>
Google Analytics for developers
https://developers.google.com/analytics/devguides/collection/ga4