• File: Tag_Interface.php
  • Full Path: /home/docteuh/www/open-graph/Analytics/Tag_Interface.php
  • Date Modified: 12/06/2023 7:16 PM
  • File size: 984 bytes
  • MIME-type: text/x-php
  • Charset: utf-8
<?php
/**
 * Class Google\Site_Kit\Modules\Analytics\Tag_Interface
 *
 * @package   Google\Site_Kit\Modules\Analytics
 * @copyright 2021 Google LLC
 * @license   https://www.apache.org/licenses/LICENSE-2.0 Apache License 2.0
 * @link      https://sitekit.withgoogle.com
 */

namespace Google\Site_Kit\Modules\Analytics;

/**
 * Interface for an Analytics tag.
 *
 * @since 1.32.0
 * @access private
 * @ignore
 */
interface Tag_Interface {
	/**
	 * Sets the current home domain.
	 *
	 * @since 1.32.0
	 *
	 * @param string $domain Domain name.
	 */
	public function set_home_domain( $domain );

	/**
	 * Sets whether or not to anonymize IP addresses.
	 *
	 * @since 1.32.0
	 *
	 * @param bool $anonymize_ip Whether to anonymize IP addresses or not.
	 */
	public function set_anonymize_ip( $anonymize_ip );

	/**
	 * Sets the ads conversion ID.
	 *
	 * @since 1.32.0
	 *
	 * @param string $ads_conversion_id Ads ID.
	 */
	public function set_ads_conversion_id( $ads_conversion_id );
}