For tracking all page views and orders we need to install two custom pixels into GTM. The first one will be fired on all pages and tracks pageviews for Divvit. The second one will be fired only on the "thankyou" page after an order has been placed successfully and track orders for Divvit.
Log in to your GTM account, click on "Tags" in the left sidebar navigation and click the "New" button on top of the page. You should reach a screen like this:
Click on "Custom HTML Tag" and copy/paste the following code into the text field, replacing the YOUR_FRONTEND_ID with your Frontend ID from Divvit and modifying variable names as needed.
Go back to "Tags" by clicking in the left sidebar and select "New" to create another pixel. Choose the same settings as above ("Custom HTML Tag") and place the following code into the text field: