HEX
Server: Apache/2.4.65 (Debian)
System: Linux 88f31f35b0b8 6.1.0-38-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.147-1 (2025-08-02) x86_64
User: www-data (33)
PHP: 8.2.29
Disabled: NONE
Upload Files
File: /var/www/html/wp-content/plugins/advanced-ads-tracking/views/admin/settings/setting-ga.php
<?php
/**
 * Google Analytics settings.
 *
 * @since   2.6.0
 * @package AdvancedAds\Tracking
 * @author  Advanced Ads <info@wpadvancedads.com>
 *
 * @var string $uid   Google Analytics UID.
 * @var bool   $is_ga Whether Google Analytics is enabled.
 */

?>
<label>
	<?php esc_html_e( 'Your Tracking ID', 'advanced-ads-tracking' ); ?><br/>
	<input type="text" name="<?php echo esc_attr( $this->options_slug ); ?>[ga-UID]" value="<?php echo esc_attr( $uid ); ?>" <?php echo esc_attr( $is_ga ? 'required' : '' ); ?> />
</label>
<p class="description">
	<?php esc_html_e( 'One or more Google Analytics properties to which you want the data to be sent. Separate multiple properties with commas.', 'advanced-ads-tracking' ); ?>
	<br>
	<?php
	printf(
		/* translators: 1: is an example id for Universal Analytics <code>UA-123456-1</code>, 2: is an example id for GA4 '<code>G-A12BC3D456</code>' */
		esc_html__( '%1$s for Universal Analytics or %2$s for Google Analytics 4.', 'advanced-ads-tracking' ),
		'<code>UA-123456-1</code>',
		'<code>G-A12BC3D456</code>'
	);
	?>
</p>