This would be incredibly difficult to do, because you would need to create recurring contribution records with the correct IDs matching those that Authorize.net is sending.
In this situation, I usually use the Offline Recurring extension. Please download from the link above; the original authors no longer maintain the extension, and this branch on my copy ...
Unless things have changed I believe this requires a customisation. We did one a while back. I will check what effort is involved in getting it extracted in to an extension if there is not one 'out there'.
You can add the code using one of the below method
Use buildform hook to add JS code using region method.
Add pixel code in CRM/Contribute/For/Contribution/ThankYou.extra.tpl in your custom template directory.
Note: Won't be difficult to make it generalized for each contribution page and also have it extended to event registration.
You could use the word replacement function to do so. It is described in the CiviCRM documentation here.
Sometimes a text is composed of more than one string which means that you would have to do more that one word replacement.