To set up tracking for AMP pages (Accelerated Mobile Pages), take the following steps in Google Tag Manager.
1. Create a new GTM container for AMP pages. To do that, go to the Admin tab, click + at the container column. In the container creation menu, select AMP:
2. In the Tags menu, create tags that will be sent to Google Analytics along with the data. Here, include the custom dimension "Page Client ID" and the trigger that fits your case. For example:
3. In the Variables menu, in the Built-In Variables block, click Configure and check all 13 variables shown in the screenshot:
4. Back in the Tags menu, create one more tag with the Custom Image type. As a trigger, use the same you used for the tag that is being sent to Google Analytics. In the Image URL field, paste this URL:
5. Publish the container.
Done. With these settings, data will be sent to both Google Analytics and Google BigQuery every time the trigger fires. You can also add additional parameters to the URL if needed.