Copytrack¶
Pro built-in module. Copytrack sends the images in your Media Library to your Copytrack account, so Copytrack can find where they are used online.
Open it from Automation > Copytrack in the OG AI Core rail (admin.php?page=ogct_settings-menu). Only administrators can use it.
Requires: an OG AI Core Pro licence and a Copytrack account.
Set up¶
- In your Copytrack account, find your API key and token.
- In Copytrack Account, enter the Key and the Token.
- Upload images one by one from the Media Library, or all at once with Bulk Upload.
Images go into a Copytrack collection called "WordPress". It is created if it does not exist yet.
Upload images¶
- Media Library: the Copytrack column shows each image's state and lets you upload it.
- Bulk Upload: Start, Stop, Skip, Always Skip and Retry. It picks up JPEG images that have not been sent yet.
Status shows Uploaded or Previously Uploaded.
Images must be reachable
Copytrack downloads each image from your site. If the image address cannot be reached from the internet (a private site, or one behind a login), the upload fails with "Cannot access the file remotely".
Good to know¶
- The module runs in wp-admin only, never on the front end.
- The key and token are stored in the options
ogct_keyandogct_token. - Each image's Copytrack state is kept in its post meta
_copytrack.
Developers¶
REST namespace image-copytrack/v1, administrators only:
| Method | Route | Use |
|---|---|---|
| POST | /update_option/ |
Save a Copytrack setting. |
| GET | /account/ |
Read the saved account settings. |
| GET | /status/<id> |
An image's Copytrack state. |
| POST | /upload/<id> |
Send one image. |
| GET | /pending/ |
Images not sent yet. |